package map;

import java.awt.image.BufferedImage;

import javax.swing.ImageIcon;


public class Tile {
	public Tile(String name, BufferedImage tile) {
		super();
		this.tile = tile;
		this.name = name;
	}
	
	public ImageIcon getImageIcon() {
		return new ImageIcon(tile);
	}
	public BufferedImage getImage(){
		return tile;
	}
	public String getName() {
		return name;
	}

	private BufferedImage tile;
	private String name;
}
